package org.hpm.modules.demo.test.service;

import org.hpm.common.system.base.service.HpmBaseService;
import org.hpm.modules.demo.test.entity.HpmDemo;

import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * @description: jeecg 测试demo
 * @author: jacklin
 * @date:   2018-12-29
 * @version:  V1.0
 */
public interface IHpmDemoService extends HpmBaseService<HpmDemo> {
	
	public void testTran();
	
	public HpmDemo getByIdCacheable(String id);
	
	/**
	 * 查询列表数据 在service中获取数据权限sql信息
	 * @param pageSize
	 * @param pageNo
	 * @return
	 */
	IPage<HpmDemo> queryListWithPermission(int pageSize, int pageNo);
}
